package com.SMP.dao;

import com.SMP.model.Lessons;
import com.SMP.model.LessonsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LessonsMapper {
    long countByExample(LessonsExample example);

    int deleteByExample(LessonsExample example);

    int deleteByPrimaryKey(String lessonsId);

    int insert(Lessons record);

    int insertSelective(Lessons record);

    List<Lessons> selectByExample(LessonsExample example);

    Lessons selectByPrimaryKey(String lessonsId);

    Lessons selectBylessonName(String lessonsName);

    int updateByExampleSelective(@Param("record") Lessons record, @Param("example") LessonsExample example);

    int updateByExample(@Param("record") Lessons record, @Param("example") LessonsExample example);

    int updateByPrimaryKeySelective(Lessons record);

    int updateByPrimaryKey(Lessons record);
}